package com.ocom.exposeapi.feign;


import com.ocom.common.constant.WebApiServiceUrl;
import com.ocom.common.resp.Result;
import com.ocom.common.vo.recode.DoorRecodeVo;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

@FeignClient(value = "websocket")
public interface WebSocketApiClientService {

    @PostMapping(WebApiServiceUrl.URL_WebSocketMsg)
    Result webSocketMsg(@RequestBody DoorRecodeVo doorRecodeVo);

}
